package com.atguigu.base;

import org.springframework.ui.Model;

/**
 * @Author: 翟文海
 * @Date: 2022/10/26/026 13:24
 * @Version: 1.0
 * @Description:
 **/
public class BaseController {
    public String toPage(Model model,String message,String page){
        model.addAttribute("messagePage",message);
        return page;
    }
    public String toPage(String page){
        return page;
    }
}
